#ifndef __APP_W5500_H__
#define __APP_W5500_H__

#include "ch32f20x.h"
#include "w5500.h"
#include <string.h>


extern uint16_t W5500_Send_Delay_Counter;
extern uint16_t W5500_Send_Delay_Counter2;
void Timer2_MyConfig(uint16_t arr,uint16_t psc);
void W5500_Initialization(void);
void Load_Net_Parameters_Client(void);
void Load_Net_Parameters_Server(void);
void Load_Net_Parameters_UDP(void);
void W5500_Socket_Set(void);
void Process_Socket_Data(SOCKET s);
void vTcp_Server(void);

#endif
